home *** CD-ROM | disk | FTP | other *** search
/ Freelog 15 / FREELOG 15.ISO / WebMaster / Perl / PERL5106.ZIP / perl5 / ntt / Op / sleep.ntt < prev    next >
Encoding:
Text File  |  1995-11-07  |  189 b   |  9 lines

  1. #!./perl
  2.  
  3. # $RCSfile: sleep.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:23 $
  4.  
  5. print "1..1\n";
  6.  
  7. $x = sleep 2;
  8. if ($x >= 2 && $x <= 10) {print "ok 1\n";} else {print "not ok 1 $x\n";}
  9.